home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_222
/
plplot
/
src
/
source.zoo
/
plr45.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-15
|
235b
|
14 lines
#include "plplot.h"
#include <math.h>
void plr45(ix,iy,isens)
int *ix, *iy, isens;
{
int ixx, iyy;
ixx = *ix-isens*(*iy);
iyy = *ix * isens + *iy;
*ix = ixx/max(1,abs(ixx));
*iy = iyy/max(1,abs(iyy));
}